from .lsb import LSB
from .dct import DCT
from .pvd import PVD

class SteganographyManager:
    def __init__(self):
        self.algorithms = {
            'LSB': LSB(),
            'DCT': DCT(),
            'PVD': PVD()
        }
    
    def get_algorithm(self, algorithm_name):
        return self.algorithms.get(algorithm_name)
    
    def get_available_algorithms(self):
        return list(self.algorithms.keys())
    
    def get_algorithm_info(self, algorithm_name):
        algorithm = self.get_algorithm(algorithm_name)
        if algorithm:
            return {
                'name': algorithm.name,
                'description': algorithm.description
            }
        return None

# 导出管理器实例
manager = SteganographyManager()